-- GENERATED SPELL FOR [Arzeth the Merciless] --


function spell0_19354(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(16856,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19354', 5256, 1)
end

function spell1_19354(pUnit, Event) --@Shadow Bolt Volley,n/a--
pUnit:FullCastSpellOnTarget(15245,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19354', 3000, 1)
end

function Sorts_19354(pUnit, Event)
local choix_sorts_19354 = math.random(0, 1)
if choix_sorts_19354 == 0 then
pUnit:RegisterEvent('spell0_19354', 1, 1)
end
if choix_sorts_19354 == 1 then
pUnit:RegisterEvent('spell1_19354', 1, 1)
end
end

function mob19354_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19354', math.random(1500, 3000), 1)
end

function mob19354_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19354_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19354_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19354, 1, 'mob19354_Action')
RegisterUnitEvent(19354, 2, 'mob19354_Leave')
RegisterUnitEvent(19354, 3, 'mob19354_Kill')
RegisterUnitEvent(19354, 4, 'mob19354_Die')
